package com.yu1996.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yu1996.common.utils.PageUtils;
import com.yu1996.gulimall.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * @author yu
 * @email 1798121567@qq.com
 * @date 2021-08-06 15:40:02
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

  PageUtils queryPage(Map<String, Object> params);

  /**
   * 根据采购单id查找所有采购项
   *
   * @param id
   * @return
   */
  List<PurchaseDetailEntity> listDetailByPurchaseId(Long id);
}
